package com.api.user.dao;

import com.api.common.mybatis.ResultMap;
import com.api.core.ApiMapper;
import com.api.core.response.Result;
import com.api.user.model.ManageInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ManageInfoMapper extends ApiMapper<ManageInfo> {

    List<Map<String, Object>> list(@Param("params") Map<String, Object> params,@Param("order") Map<String, Object> orderParams);

    ResultMap<String, Object> detail(Long userId);

    List<ResultMap<String, Object>> invitation(Long uid);
}